package com.aqumon.www.mapper;

import com.aqumon.www.entity.persistent.JenkinsConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * jenkins服务器配置 Mapper 接口
 * </p>
 *
 * @author aqumon
 * @since 2022-05-19
 */

public interface JenkinsConfigMapper extends BaseMapper<JenkinsConfig> {

    int updateByPrimaryKeySelective(@Param("jenkinsConfig") JenkinsConfig jenkinsConfig);

    List<JenkinsConfig> listAllConfig();

    JenkinsConfig selectByJenkinsName(@Param("jenkinsName") String jenkinsName);
}
